package edu.hawaii.duedates;

/**
 * User class for handling a person's credentials.
 * @author Anthony M. Du
 *
 */
public class User {
  // Basic user credentials.
  private final String id, password;
  
  /**
   * User constructor.
   * @param id - String of user's identification number or name
   * @param password - String of user's password or access key.
   */
  public User(String id, String password) {
    this.id = id;
    this.password = password;
  }
  
  /**
   * GetPassword of user.
   * @return password - String containing user's password.
   */
  public String getPassword() {
    return password;
  }
  
  /**
   * GetId of user.
   * @return id - String containing user's id.
   */
  public String getId() {
    return id;
  }
}
